/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ramon
 */
public class testPila {

    public static void main(String[] args) {

        node n = new node("prova");
        node i = new node("prova2");
        node x = new node("prova3");

        MevaPila p = new MevaPila();
        p.apilar(n);
        p.apilar(i);
        p.apilar(x);
//        p.desapilar();
//        p.desapilar();
                
        System.out.println(p.cim());
        
        
    }

}
